package cn.rokhdelar.ams.management.domain.po;

import cn.rokhdelar.ams.base.BasePo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "系统公告")
public class SysAnnouncement extends BasePo {
    @Schema(description = "公告标题")
    private String title;

    @Schema(description = "公告编号")
    private String announcementNo;

    @Schema(description = "公告内容")
    private String content;

    @Schema(description = "公告发布状态")
    private Boolean published = Boolean.TRUE;

    @Schema(description = "公告开始时间")
    private LocalDateTime startDateTime;

    @Schema(description = "公告结束时间")
    private LocalDateTime endDateTime;

    @Schema(description = "发布人ID")
    private String authorId;
}
